package com.yhl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yhl.entity.Provider;

import java.util.List;

/**
* 业务接口
*
* @author YaoHongli
* @since 2023-03-17 17:45:59
*/
public interface ProviderService{
    void addProvider(Provider provider);
    void deleteProvider(String id);
    void updateProvider(Provider provider);
    Provider getProviderById(String id);
    IPage<Provider> getProviderByPage(Page page, Provider provider);

    List<Provider> getProviderList();
}

